<template>
  <div>
    <Store></Store>
  </div>
</template>

<script>
import Store from "@/components/index/store/index.vue";
import { mapActions } from "vuex";
export default {
  async created() {
    await this.getCartList({ userId: localStorage.getItem("userid") });
  },
  methods: {
    ...mapActions("cart", ["getCartList"]),
  },
  data() {
    return {};
  },
  components: {
    Store,
  },
};
</script>
<style lang="less" scoped></style>
